export default {
    data() {
        return {
            category:[
                {"id":1,"name":'数码产品',"number":'2333'},
                {"id":2,"name":'家具',"number":'2333'},
            ]
        }
    },
    methods:{
        addNewType() {
          this.$router.push('/ShopType/add')
        },
        handleEdit(index,row) {
          this.$router.push({path: '/ShopType/edit', query: {id: row.id}});
          console.log(row.id)
        }
    }
}